import React from "react";
import "./App.css";
import { Switch, Route, BrowserRouter } from "react-router-dom";
import Idcard from "./components/Idcard/index";
import Home from "./components/home/index";
const App: React.FC = () => {
  return (
    <BrowserRouter>
      <div>
        <Switch>
          <Route exact path="/" component={Home} />

          <Route path="/idcard" component={Idcard} />

          <Route path="/text" component={Idcard} />
        </Switch>
      </div>
    </BrowserRouter>
  );
};

export default App;
